package com.uphone.edwards.modle;

public class LoginBean {

    /**
     * msg : 登录成功
     * code : 0
     * userName : 2222
     * tokenInfo : {"expire":43200,"token":"9181ae50-a6a2-4297-a491-a164e5dcd487"}
     */

    private String msg;
    private int code;
    private String userName;
    private TokenInfoBean tokenInfo;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public TokenInfoBean getTokenInfo() {
        return tokenInfo;
    }

    public void setTokenInfo(TokenInfoBean tokenInfo) {
        this.tokenInfo = tokenInfo;
    }

    public static class TokenInfoBean {
        /**
         * expire : 43200
         * token : 9181ae50-a6a2-4297-a491-a164e5dcd487
         */

        private int expire;
        private String token;

        public int getExpire() {
            return expire;
        }

        public void setExpire(int expire) {
            this.expire = expire;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
